package sg.edu.nus.iss.vmcs.system;
/**
 * Priyanka
 * Button listener for the GiveChangebutton on Customer Panel
 * 
 */
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class ChangeDispenseButtonListener  implements ActionListener {

	private MainController mctrl;
	
	
	public ChangeDispenseButtonListener(MainController mctrl) {
		super();
		this.mctrl = mctrl;
	}


	@Override
	public void actionPerformed(ActionEvent arg0) {
		mctrl.setTransactionCurrentState(3);
		
	}
	

}
